{% extends "base.html" %}
{% block main %}
<form id="frmEditEntry" method="post" action="/mgmt/entry_update">
	<label for="txtTitle">Title:</label>
	<input type="text" id="txtTitle" name="txtTitle" size="32" class="textBox" value="{{ entry_data.title }}" />
	<label for="selCates">Category:</label>
	<select id="selCates" name="selCates" class="selectBox">
		<option selected="selected" value="0">Uncategorized</option>
		<option value="1">Category 1</option>
		<option value="2">Category 2</option>
		<option value="3">Category 3</option>
	</select>
	<label for="txtContent">Content:</label>
	<textarea id="txtContent" name="txtContent" class="textBox" cols="32" rows="8">{{ entry_data.content }}</textarea>
	<br />
	<input type="submit" id="btnPost" name="btnPost" value="Submit" class="button" />
	<input type="hidden" id="hidEntryId" name="hidEntryId" value="{{ entry.key.id }}" />
</form>
{% endblock %}